home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / SourceCode / AdobeExamples / NX_ImportAdv / GraphicList.h < prev    next >
Encoding:
Text File  |  1992-12-19  |  2.4 KB  |  82 lines

  1.  
  2. /*
  3.  * (a)  (C) 1990 by Adobe Systems Incorporated. All rights reserved.
  4.  *
  5.  * (b)  If this Sample Code is distributed as part of the Display PostScript
  6.  *    System Software Development Kit from Adobe Systems Incorporated,
  7.  *    then this copy is designated as Development Software and its use is
  8.  *    subject to the terms of the License Agreement attached to such Kit.
  9.  *
  10.  * (c)  If this Sample Code is distributed independently, then the following
  11.  *    terms apply:
  12.  *
  13.  * (d)  This file may be freely copied and redistributed as long as:
  14.  *    1) Parts (a), (d), (e) and (f) continue to be included in the file,
  15.  *    2) If the file has been modified in any way, a notice of such
  16.  *      modification is conspicuously indicated.
  17.  *
  18.  * (e)  PostScript, Display PostScript, and Adobe are registered trademarks of
  19.  *    Adobe Systems Incorporated.
  20.  * 
  21.  * (f) THE INFORMATION BELOW IS FURNISHED AS IS, IS SUBJECT TO
  22.  *    CHANGE WITHOUT NOTICE, AND SHOULD NOT BE CONSTRUED
  23.  *    AS A COMMITMENT BY ADOBE SYSTEMS INCORPORATED.
  24.  *    ADOBE SYSTEMS INCORPORATED ASSUMES NO RESPONSIBILITY
  25.  *    OR LIABILITY FOR ANY ERRORS OR INACCURACIES, MAKES NO
  26.  *    WARRANTY OF ANY KIND (EXPRESS, IMPLIED OR STATUTORY)
  27.  *    WITH RESPECT TO THIS INFORMATION, AND EXPRESSLY
  28.  *    DISCLAIMS ANY AND ALL WARRANTIES OF MERCHANTABILITY, 
  29.  *    FITNESS FOR PARTICULAR PURPOSES AND NONINFRINGEMENT
  30.  *    OF THIRD PARTY RIGHTS.
  31.  */
  32.  
  33. /*
  34.  *    GraphicList.h
  35.  *
  36.  *    A subclass of list that acts like a GraphicEpsf object. Each message
  37.  *    is performed on each object in the list.
  38.  *
  39.  *    Version:    2.0
  40.  *    Author:    Ken Fromm
  41.  *    History:
  42.  *            03-19-91        Added this comment. Since the NXImage
  43.  */
  44.  
  45. #import "ImportApp.h"
  46. #import "epsfstruct.h"
  47.  
  48. #import <appkit/graphics.h>
  49. #import <objc/List.h>
  50.  
  51. @interface GraphicList : List
  52. {
  53. }
  54.  
  55. - copy;
  56. - copyTemp;
  57. - freeTemp;
  58.  
  59. - replaceObjectsIn:aList  with:bList;
  60. - removeObjectsIn:bList;
  61. - insertObjectsIn:bList;
  62.  
  63. - setSelected:(BOOL) flag;
  64.  
  65. - rotateAboutPoint:(NXPoint *) aPoint  withAngle:(float) angle;
  66. - moveAll:(const NXPoint *) pt;
  67.  
  68. - getBounds:(NXRect *)aRect;
  69. - getScrollRect:(NXRect *)aRect  forPtNum:(int) pt_num;
  70.  
  71. - constrainAngle:(float *) angle  withFlags:(int)flags;
  72.  
  73. - hitControl:(const NXRect *)hitRect  :(int *) pt_num  forSize:(float) size;
  74.  
  75. - putControlPoints:(UPath *)buffer  forRect:(NXRect *)r  :(NXPoint *) lastPoint;
  76. - drawObject:(NXRect *) r  withFlags:(int) flags  inView:view;
  77.  
  78. - addResources:(Resource *) resourceDoc  for:(NXRect *) r;
  79.  
  80. @end
  81.  
  82.